MailPoet\Segments\WooCommerce A

Total Complexity 63
Dependencies 19
Dependents 7
Total lines 581
Lines of code 426
Logical lines of code 219
Comment lines 62
Methods 17
Properties 13

Methods 17

Method Rating Maintainability Complexity Lines of code
synchronizeRegisteredCustomer()
A
45 12 42
updateNames()
A
41 10 59
synchronizeGuestCustomer()
A
51 9 27
removeOrphanedSubscribers()
S
39 4 75
insertSubscribersFromOrders()
S
47 5 38
synchronizeCustomers()
S
58 3 16
ensureColumnCollation()
S
60 3 14
updateStatus()
S
53 2 24
insertSubscribers()
S
53 2 22
updateGlobalStatus()
S
52 1 30
insertSubscriberFromOrder()
S
65 3 9
shouldShowWooCommerceSegment()
S
67 3 8
needsCollationChange()
S
63 2 11
insertUsersToSegment()
S
60 1 14
unsubscribeUsersFromSegment()
S
61 1 13
__construct()
S
60 1 13
markRegisteredCustomers()
S
62 1 11